﻿using IQIGame.Onigao.Framework;
using IQIGame.Onigao.Framework.Serialization;
using LFloatMath.Math;


namespace IQIGame.Onigao.GamePlay
{
    public class ChargeItem : IReusableClassWithFree
    {
        public int chargeDuration;
        public int chargeStartRound;
        public int castSkill;
        public LVector2 pos;
        public LVector2 aspect;
        
        public uint MaxStore => 2;

        public void OnReset()
        {
            this.chargeDuration = default;
            this.chargeStartRound = default;
            this.castSkill = default;
            this.pos = default;
            this.aspect = default;
        }

        public void Free()
        {
            ClassPool.Put(this);
        }
    }
}